FireWall
2010/05/25 |
[1] | If you don't need FireWall on the server because FireWall is enabled on other machines like routers, turn disable it on the server. |
[root@dlp ~]# /etc/rc.d/init.d/iptables stop iptables: Flushing firewall rules: [ OK ] iptables: Setting chains to policy ACCEPT: filter [ OK ] iptables: Unloading iptables modules: [ OK ] [root@dlp ~]# chkconfig iptables off [root@dlp ~]# chkconfig ip6tables off |
SELinux
|
[2] | Disable SELinux (Security-Enhanced Linux). It's difficult to configure and it often causes connection troubles. |
[root@dlp ~]# vi /etc/sysconfig/selinux # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - SELinux is fully disabled. SELINUX= disabled # change # SELINUXTYPE= type of policy in use. Possible values are: # targeted - Only targeted network daemons are protected. # strict - Full SELinux protection. SELINUXTYPE=targeted |